package com.dao;

import com.domain.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository("userDao")
public interface UserDao {

      User findLoginUser(@Param("usernumber")String usernumber,@Param("password") String password);

      User selectUserById(Integer id);

      User selectByUsernumber(String usernumber);

      int insertUser(User user);

      int updateUser(User user);


      /***************************************************************/
      int selectUserIdByName(String username);
}
